<ion-header>
    <ion-navbar>
        <ion-searchbar ></ion-searchbar>
      </ion-navbar>
</ion-header>

<ion-content>

  <div class="cate_content">
  <!-- 左边的分类 -->
    <div class="left_cate">

      <ion-list inset>
        <!-- ion-list 有(tap)点击事件 -->
        <ion-item *ngFor = "let item of cateList" (tap)="requestShopData(item['_id'])">
          {{item.title}}
        </ion-item>
      </ion-list>

    </div>
    
      <!-- 右边的分类 -->
    <div class="right_cate">
        <ion-row>
          <!-- [navPush]='ProductlistPage' [navParams]="{'cid' : item['_id']}" -->
            <ion-col col-4 *ngFor="let item of shopList" (tap)="goProductListPage(item['_id'])" >
              <img [src]='config.apiUrl+item.pic' />
              <p>{{item.title}}</p>    
            </ion-col>
        </ion-row>
        
    </div>

  </div>


</ion-content>
